package com.project.bean.InventoryManagement;



//药剂器械实体

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("agentia_info")
public class AgentiaBean {


    @TableId(value = "agentia_id",type = IdType.AUTO)
    private Integer agentiaId;	//药剂器械编号
    @TableField("agentia_name")
    private String agentiaName;	//药剂器械名称
    @TableField("agentia_type")
    private String agentiaType; //防治类型
    @TableField("agentia_category")
    private String agentiaCategory;	//类别
    @TableField("agentia_use")
    private String agentiaUse;	//主要用途

    @TableField(exist = false)
    private DetailsBean detailsBean; //物品数量




    public AgentiaBean() {
    }

    public AgentiaBean(String agentiaName, String agentiaType, String agentiaCategory, String agentiaUse) {
        this.agentiaName = agentiaName;
        this.agentiaType = agentiaType;
        this.agentiaCategory = agentiaCategory;
        this.agentiaUse = agentiaUse;
    }

    public AgentiaBean(Integer agentiaId, String agentiaName, String agentiaType, String agentiaCategory, String agentiaUse) {
        this.agentiaId = agentiaId;
        this.agentiaName = agentiaName;
        this.agentiaType = agentiaType;
        this.agentiaCategory = agentiaCategory;
        this.agentiaUse = agentiaUse;
    }

    public AgentiaBean(Integer agentiaId, String agentiaName, String agentiaType, String agentiaCategory, String agentiaUse, DetailsBean detailsBean) {
        this.agentiaId = agentiaId;
        this.agentiaName = agentiaName;
        this.agentiaType = agentiaType;
        this.agentiaCategory = agentiaCategory;
        this.agentiaUse = agentiaUse;
        this.detailsBean = detailsBean;
    }

    public Integer getAgentiaId() {
        return agentiaId;
    }

    public void setAgentiaId(Integer agentiaId) {
        this.agentiaId = agentiaId;
    }

    public String getAgentiaName() {
        return agentiaName;
    }

    public void setAgentiaName(String agentiaName) {
        this.agentiaName = agentiaName;
    }

    public String getAgentiaType() {
        return agentiaType;
    }

    public void setAgentiaType(String agentiaType) {
        this.agentiaType = agentiaType;
    }

    public String getAgentiaCategory() {
        return agentiaCategory;
    }

    public void setAgentiaCategory(String agentiaCategory) {
        this.agentiaCategory = agentiaCategory;
    }

    public String getAgentiaUse() {
        return agentiaUse;
    }

    public void setAgentiaUse(String agentiaUse) {
        this.agentiaUse = agentiaUse;
    }

    public DetailsBean getDetailsBean() {
        return detailsBean;
    }

    public void setDetailsBean(DetailsBean detailsBean) {
        this.detailsBean = detailsBean;
    }

    @Override
    public String toString() {
        return "AgentiaBean{" +
                "agentiaId=" + agentiaId +
                ", agentiaName='" + agentiaName + '\'' +
                ", agentiaType='" + agentiaType + '\'' +
                ", agentiaCategory='" + agentiaCategory + '\'' +
                ", agentiaUse='" + agentiaUse + '\'' +
                ", detailsBean=" + detailsBean +
                '}';
    }
}
